package com.ruoyi.gis.mapper;

import java.util.List;
import com.ruoyi.gis.domain.DatasetTypeBand;
import org.apache.ibatis.annotations.Param;

/**
 * datasetbandMapper接口
 *
 * @author rww
 * @date 2024-08-26
 */
public interface DatasetTypeBandMapper
{
    /**
     * 查询datasetband
     *
     * @param id datasetband主键
     * @return datasetband
     */
    public DatasetTypeBand selectDatasetTypeBandById(String id);

    /**
     * 查询datasetband列表
     *
     * @param datasetTypeBand datasetband
     * @return datasetband集合
     */
    public List<DatasetTypeBand> selectDatasetTypeBandList(DatasetTypeBand datasetTypeBand);

    /**
     * 新增datasetband
     *
     * @param datasetTypeBand datasetband
     * @return 结果
     */
    public int insertDatasetTypeBand(DatasetTypeBand datasetTypeBand);

    /**
     * 修改datasetband
     *
     * @param datasetTypeBand datasetband
     * @return 结果
     */
    public int updateDatasetTypeBand(DatasetTypeBand datasetTypeBand);

    /**
     * 删除datasetband
     *
     * @param id datasetband主键
     * @return 结果
     */
    public int deleteDatasetTypeBandById(String id);

    /**
     * 批量删除datasetband
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDatasetTypeBandByIds(String[] ids);

    DatasetTypeBand selectDatasetTypeBandTypeAndBandNo(@Param("typeId") String typeId,
                                                       @Param("bandNo")String bandNo);
}
